package com.k1ccc0.alumniinformationmanagement.service.impl;

import com.k1ccc0.alumniinformationmanagement.mapper.AdministratorMapper;
import com.k1ccc0.alumniinformationmanagement.mapper.AlumniMapper;
import com.k1ccc0.alumniinformationmanagement.pojo.Administrator;
import com.k1ccc0.alumniinformationmanagement.service.AdministratorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdministratorServiceImpl implements AdministratorService {
    @Autowired
    private AdministratorMapper administratorMapper;

    @Override
    public Administrator adminLogin(Administrator administrator) {
        return administratorMapper.getUsernameAndPassword(administrator);
    }
}
